package cc.wanforme.st.server.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户表（不实现评论和留言，但是保留）
 * </p>
 *
 * @author wanne
 * @since 2020-09-18
 */
@ApiModel(value="Admin对象", description="用户表（不实现评论和留言，但是保留）")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "昵称")
    private String name;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "邮箱")
    private String email;
    
    @ApiModelProperty(value = "状态")
    private String status; 

    public Long getId() {
		return id;
	}
    
    public void setId(Long id) {
		this.id = id;
	}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    
    public String getStatus() {
		return status;
	}
    
    public void setStatus(String status) {
		this.status = status;
	}

    @Override
    public String toString() {
        return "Admin{" +
        "id=" + id +
        ", name=" + name +
        ", username=" + username +
        ", password=" + password +
        ", type=" + type +
        ", email=" + email +
        ", status=" + status +
        "}";
    }
}
